package com.dl.helloworld;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyBroadcastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        String msg  = intent.getStringExtra("message");
        Toast.makeText(context,"Recived broadcast" + msg,Toast.LENGTH_SHORT).show();
    }
}
